<?php

class FrmExeComponent {
    private $selectionList;
    private $select;
    
    public function __construct($componentOptions=array()){
        $this->selectionList=new SelectionList($name="componentList", $id="componentList", $class="", $size="", $multiple="", $disabled="", $tabindex="", $events="");
        foreach ($componentOptions as $component){
            $this->selectionList->addOption($component);
        }
        $this->select=new Button($name="select", $id="select", $alt="select", $value="select", $note="select", $type="button", $disabled="", $class="", $imageSrc="");        
    }
    public function setVisible($visible=true){
        $this->selectionList->show();
        $this->select->show();
    }
}

?>
